package org.hardcode.rpc.serialization.api;

public interface Serialization {

    //序列化
    <T> byte[] serialize(T object);

    //反序列化
    <T>  T  deserialize(byte[] data,Class<T> clazz);
}
